﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class PurchaseDateil
    {
        public string PurchaseID { get; set; }    //订单编号
        public int PurchaseDetailID { get; set; } //订单明细编号
        public string ProductID { get; set; }     //商品编号
        public decimal PurchasePrice { get; set; }//购入价
        public int Quantity { get; set; }         //数量
        public decimal Account { get; set; }//金额

        public PurchaseDateil() { }
        public PurchaseDateil(string purchaseID, int purchaseDetailID, string productID, decimal purchasePrice, int quantity)
        {
            this.PurchaseID = purchaseID;
            this.PurchaseDetailID = purchaseDetailID;
            this.ProductID = productID;
            this.PurchasePrice = purchasePrice;
            this.Quantity = quantity;
        }
    }
}
